const sleep = (time) => {
  return new Promise(resolve => setTimeout(resolve, time))
}

async function sleepAsync(time) {
  console.log('fuck the code')
  await sleep(time)
  console.log('fuck the code again')
}

sleepAsync(3000);
console.log(1);